

public class HelloWorld {

	String name;
	
	/*
	 * @param args
	 */
	public static void main(String[] args) {
		boolean good = true;
		for(int j = 0; j < 5; ++j)
		{
			good = f2();
		}
		Math.cos(45);
		int x = 0;
		int y = 1;
		int z = -1;
		quadratic(y, x, z);
		
		
		int[] a = new int[3];
		a[0] = 5;
		a[1] = 7;
		a[2]=100;
		int sum = 0;
		for(int i = 0; i < a.length;){
			//sum += a[i++];
			sum = sum + a[i++];
		}
		
		int[] b = {2, 3, 4, 5, 6, 7};
		
		System.out.println(sum);
		
	}

	static boolean f1(){
		System.out.println("hi");
		
		return true;
	}

	static boolean f2(){
		System.out.println("bye");
		return false;
	}
	
	static double quadratic(double a, double b, double c){
		return ((-b)+Math.sqrt(b*b-4*a*c))/(2*a);
	}
	
	static int product(int[] in){
		return 0;
	}
	
	
	
}
